#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int strlen(char* str)
{
	int count = 0;
	while (*str)
	{
		count++;
		str++;

	}
	return count;
}

int main()
{
	char arr[] = { 0 };
	scanf("%s", arr);
	int len = strlen(arr);
	printf("%d", len);
	return 0;
}